package com.service.imp;

import com.mapper.ZhiShiMapper_x;
import com.pojo.ZhiShi_x;
import com.service.ZhiShiService_x;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ZhiShiServiceXImp_x implements ZhiShiService_x {
    @Autowired
    private ZhiShiMapper_x zhiShiMapperX;

    @Override
    public List<ZhiShi_x> select1() {
        return zhiShiMapperX.select1();
    }

    @Override
    public List<ZhiShi_x> selectAll2(Integer id,String title,String content) {
        return zhiShiMapperX.selectAll2(id,title,content);
    }

    @Override
    public Integer add(ZhiShi_x zhiShiX) {
        return zhiShiMapperX.add(zhiShiX);
    }

    @Override
    public Integer update(ZhiShi_x zhiShiX) {
        return zhiShiMapperX.update(zhiShiX);
    }

    @Override
    public Integer delete(Integer id) {
        return zhiShiMapperX.delete(id);
    }

    @Override
    public List<ZhiShi_x> selectAll() {
        return zhiShiMapperX.selectAll();
    }
}
